<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>NearFriendzz Admin Interface</title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_javascripts() ?>
    <?php include_stylesheets() ?>
  </head>
  <body>
    <div id="container">
      <div id="header">
        <h1>
          <a href="<?php echo url_for('@homepage') ?>">
            <img src="/images/pin_news.png" alt="" />
          </a>
        </h1>
      </div>
      <?php if ($sf_user->isAuthenticated()) : ?>
      <div id="menu">
        <ul>
          <li><?php echo link_to('Places', '@nf_place') ?></li>
          <li><?php echo link_to('NearEvent', '@nf_nearevent') ?></li>
          <li><?php echo link_to('NearNews', '@nf_nearnews') ?></li>
          <li><?php echo link_to('Users', '@sf_guard_user') ?></li>
          <li><?php echo link_to('Logout', '@sf_guard_signout') ?></li>
        </ul>
      </div>
      <?php endif; ?>
      <div id="content">
        <?php echo $sf_content ?>
      </div>
 
      <div id="footer">
        <div id="menu_pie">
          <span class="copy">Copyright &copy; 2011</span></div>
        </div>
      </div>
    </div>
  </body>
</html>
